<?php
namespace app\common\validate;
use think\validate;

class ArticleValidate extends validate {
	protected $rule = [
		['title', 'require', '请填写文章标题'],
		['cat_id', 'require', '请选择分类'],
		['author', 'require', '请填写作者'],
		['from', 'require', '请填写文章来源'],
	];

}